Skip to content

feat(formplayer): Add support for audio, video, select_file, improved photo handling#627

Merged
r0ssing merged 10 commits intoOpenDataEnsemble:devfrom
HelloSapiens:feat/formplayer-update
May 4, 2026
Merged

feat(formplayer): Add support for audio, video, select_file, improved photo handling#627
r0ssing merged 10 commits intoOpenDataEnsemble:devfrom
HelloSapiens:feat/formplayer-update

Conversation

@r0ssing
Copy link
Copy Markdown
Contributor

@r0ssing r0ssing commented May 4, 2026

Pull Request Title

This PR adds the missing implementation for audio/video/select_file question renderers as well as improves the photo question (fixes issue with thumbnail not showing).

It also adds storybook stories for each of the new question types in the formplayer (to be used in documentation/testing) as well as implementing parity across the bridge in stodybook, ODE Dekstop, and Formulus.

It also updates the ci/cd for ODE Desktop to have it be part of the formal GH actions build.

Finally it cleans up the build scripts to simply use "npm run build:copy" to have the dist copied to both desktop and formulus in one go.

Type of Change

  • Bug Fix
  • New Feature / Enhancement
  • Refactor / Code Cleanup
  • Documentation Update
  • Maintenance / Chore
  • Other (please specify):

Component(s) Affected

  • formulus (React Native mobile app)
  • formulus-formplayer (React web app)
  • synkronus (Go backend server)
  • synkronus-cli (Command-line utility)
  • Documentation
  • DevOps / CI/CD
  • **Other:**DESKTOP

Thank you for contributing to Open Data Ensemble (ODE)!

r0ssing added 9 commits May 4, 2026 12:08
…mproved attachment handling

- Added methods in WebViewMock to manage attachment display URLs and resolve them based on basenames.
- Updated PhotoQuestionRenderer to utilize the new attachment handling logic, ensuring only basenames are persisted and displayed.
- Removed deprecated webviewSafeImageSrc function to streamline image URL handling.
- Adjusted CameraResultData interface to clarify persistence guidelines for attachment fields.
…istency

- Changed all references from `build:rn` to `build:copy` to reflect the new build process that consolidates building and copying assets for both Formulus and ODE Desktop.
- Updated documentation across multiple files to ensure clarity on the new build commands and their purposes.
- Adjusted error messages in the code to align with the updated build command terminology.
- Updated triggers for pull requests and pushes to include additional relevant paths.
- Added new jobs for building embedded formplayer assets and packaging desktop bundles.
- Improved path filters and concurrency settings in the workflow configuration.
- Clarified documentation regarding the build process and CI artifacts.
najuna-brian
najuna-brian previously approved these changes May 4, 2026
Copy link
Copy Markdown
Contributor

@najuna-brian najuna-brian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @r0ssing
A lot can be done from ODE Desktop now
I like the new renders too 😃

- Added xdg-utils to the list of dependencies in the ode-desktop workflow to ensure proper functionality during builds.
Copy link
Copy Markdown
Contributor

@Mishael-2584 Mishael-2584 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it. Thanks for the update and support for these.

@najuna-brian najuna-brian self-requested a review May 4, 2026 11:35
@r0ssing r0ssing merged commit f1b2e10 into OpenDataEnsemble:dev May 4, 2026
19 checks passed
@r0ssing r0ssing deleted the feat/formplayer-update branch May 4, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants